function setTableColumns() {
  return [
    {prop: 'turnoverNumberQueryByLike', label: '周转码', noChecked: true, noForCol: true, noExport: true},
    {
      prop: 'number',
      label: '周转码',
      noSearch: true,
      colConfig: {sortable: 'custom', minWidth: 240, align: 'left', fixed: 'left'}
    },
    {
      prop: 'turnoverProcessStatusLabel',
      label: '周转进度',
      filterAble: true,
      searchConfig: {
        name: 'turnoverProcessStatusId',
        type: 'select',
        multiple: true,
        selectList: this.partBatchProcessStatus,
      },
      colConfig: {comp: 'turnoverProgressStatus', minWidth: 120, fixed: 'left'}
    },
    {
      prop: 'turnoverStatusLabel',
      label: '周转状态',
      filterAble: true,
      searchConfig: {
        name: 'turnoverStatusId',
        type: 'select',
        selectList: this.batchStatus
      },
      colConfig: {comp: 'turnoverStatus', minWidth: 120, fixed: 'left'}
    },
    {
      prop: 'codeCreateDate',
      label: '周转码创建时间',
      searchConfig: {
        type: 'date'
      },
      colConfig: {minWidth: 180}
    },
    {
      prop: 'materialName',
      label: '物料名称',
      colConfig: {align: 'left', minWidth: 100}
    },
    {
      prop: 'drawingNumber',
      label: '图号',
      colConfig: {minWidth: 100}
    },
    {
      prop: 'weekPlanName',
      label: '关联周计划',
      colConfig: {minWidth: 250, align: 'left'}
    },
    {
      prop: 'productionQuantity',
      label: '计划数量',
      colConfig: {minWidth: 100}
    },
    {
      prop: 'groupType',
      label: '物料组别',
      colConfig: {sortable: false, minWidth: 100}
    },
    {
      prop: 'productNumber',
      label: '产品型号',
      colConfig: {align: 'left', minWidth: 150}
    },
    {
      prop: 'productBatchNumber',
      label: '批次号',
      colConfig: {minWidth: 120}
    },
    {
      prop: 'planStartDate',
      label: '计划开始时间',
      searchConfig: {
        type: 'date'
      },
      colConfig: {minWidth: 120, formatToDay: true}
    },
    {
      prop: 'planEndDate',
      label: '计划完成时间',
      searchConfig: {
        type: 'date'
      },
      colConfig: {minWidth: 120, formatToDay: true}
    },
    {
      prop: 'printCount',
      label: '打印次数',
      colConfig: {fixed: 'right', minWidth: 100}
    },
  ]
}

export default setTableColumns
